/*******************************************************************************
 * 
 * Copyright:
 * 
 * License:
 * 
 * Authors: SALMON Charles
 * 
 ******************************************************************************/

/*******************************************************************************
 * 
 ******************************************************************************/
 
/**
 * Pages of the userview
 */
qx.Class.define("bip.adminview.AdminPages",
{
  extend : bip.AbstractPages,
  
  type: "singleton",
  
  construct : function()
  {
  	var pages = {};
  	// Admin view can use the user and author pages
  	bip.userview.UserPages.getInstance().iteratePages(function(pageName,page){
  		this[pageName] = page;
  	},pages);
  	bip.authorview.AuthorPages.getInstance().iteratePages(function(pageName,page){
  		this[pageName] = page;
  	},pages);
  	
    this.base(arguments,pages);

  }
});